import App from './App'

// #ifndef VUE3
import Vue from 'vue'
import './uni.promisify.adaptor'
import Vant from 'vant'
import 'vant/lib/index.css'

Vue.use(Vant)
Vue.config.productionTip = false

App.mpType = 'app'
const app = new Vue({
	...App
})
app.$mount()

// export const appUrl = "http://localhost:8090";        //本地1
//export const appUrl = "http://192.168.130.235:8090";     //本地2
export const appUrl = "http://120.26.113.115:8090";     //服务器
// export const appUrl = "http://192.168.154.235:8090";    //本地3
// #endif




// #ifdef VUE3
import {
	createSSRApp
} from 'vue'
import Vant from 'vant'
import 'vant/lib/index.css'
import {
	Lazyload
} from 'vant';

export function createApp() {
	const app = createSSRApp(App)
	app.use(Vant)
	app.use(Lazyload, {
		lazyComponent: true,
	});
	
	return {
		app
	}
}
// export const appUrl = "http://localhost:8090";
export const appUrl = "http://120.26.113.115:8090";     //服务器
// export const appUrl = "http://192.168.154.235:8090";
// #endif